// mypage/intoMember/intoMember.js
Page({
  /* 页面的初始数据*/
  data: {
    title: 'VIP家长会员',
    navColor: 'rgba(0,0,0,0)'
  },
  /*生命周期函数--监听页面加载*/
  onLoad: function (options) {

  },
  onPageScroll:function(e){
    var that=this;
    if(e.scrollTop>=30){
      that.setData({navColor: 'rgba(44,49,70,1)'})
    }else{
      that.setData({navColor: 'rgba(0,0,0,0)'})
    }
  },
  nav_rule:function(){
    wx.navigateTo({
      url: '../memberRule/memberRule',
    })
  },
  nav_pay:function(){

  },
})